﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace armsim
{

    public class RegShiftRegDPInstruction : DataProcessingInstruction
    {

        public uint Rs { get; protected set; }
        public uint ShiftType { get; protected set; }
        public uint Rm { get; protected set; }

        public RegShiftRegDPInstruction(uint instruction)
            : base(instruction)
        {
            this.Rs = Memory.ExtractBits(instruction, 8, 11);
            this.ShiftType = Memory.ExtractBits(instruction, 5, 6);
            this.Rm = Memory.ExtractBits(instruction, 0, 3);
        }
    }
}
